home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_56.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  146KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky | tree | windowpane
OCR: Sectien 172 doscroll handles theg isceollbate Ib eallsnthth AS erontinngteste enipolmrton dind out it a the gadgets have been clicked if so it calls scroll, then goes round again until the mouse button released Section 13 contains two string convertors written in a different these need the address of the strings passed on the stack This illustrates another method of passing parameters to subroutines. Normally parameters (data routine needs, or returns) are passed in registers because it is the quick kest way to do it However, sometimes you may not have enough registers to do this. so you can push the params on the stack and the subroutine can pop them off, or them directly from the stack These two routines read the parameters off the stack by linking a6 to the stack pointer and reading the ...